-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f432584
commit 21e2842
Showing
5 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
"require-dev": { | ||
"phpunit/phpunit": "^8.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Done\Subtitles\Code\Converters; | ||
|
||
use Done\Subtitles\Code\Helpers; | ||
use Done\Subtitles\Code\UserException; | ||
use Done\Subtitles\Subtitles; | ||
use Jstewmc\Rtf\Document; | ||
|
||
class RtfReader implements ConverterContract | ||
{ | ||
public function canParseFileContent($file_content) | ||
{ | ||
return strpos($file_content, '{\rtf1') === 0; | ||
} | ||
|
||
public function fileContentToInternalFormat($file_content, $original_file_content) | ||
{ | ||
|
||
} | ||
|
||
public function internalFormatToFileContent(array $internal_format, array $options) | ||
{ | ||
// not implemented | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters