Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Aspell custom dictionary (#13)
* Add PersonalDictionary for Aspell * Update README and CHANGELOG * Add gitattributes for clean install package * Remove old phpunit config * Fix codesniffer errors
- Loading branch information
1 parent
5d11385
commit 8007814
Showing
48 changed files
with
546 additions
and
238 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.travis.yml export-ignore | ||
phpunit.xml.dist export-ignore |
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 |
---|---|---|
@@ -1,4 +1,10 @@ | ||
# Project specifics | ||
/build | ||
|
||
# Composer | ||
/composer.lock | ||
/composer.phar | ||
/vendor/ | ||
|
||
# Configs. | ||
/phpunit.xml |
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
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
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
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,35 @@ | ||
<?php | ||
/** | ||
* PHP Speller. | ||
* | ||
* @copyright 2017, Михаил Красильников <m.krasilnikov@yandex.ru> | ||
* @author Михаил Красильников <m.krasilnikov@yandex.ru> | ||
* @license http://opensource.org/licenses/MIT MIT | ||
*/ | ||
|
||
namespace Mekras\Speller; | ||
|
||
/** | ||
* Representing any dictionary for a certain speller | ||
*/ | ||
class Dictionary | ||
{ | ||
/** @var string */ | ||
private $dictionaryPath; | ||
|
||
/** | ||
* @param string $path | ||
*/ | ||
public function __construct(string $path) | ||
{ | ||
$this->dictionaryPath = $path; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPath() | ||
{ | ||
return $this->dictionaryPath; | ||
} | ||
} |
Oops, something went wrong.