Свойство | Тип | Описание | |
---|---|---|---|
$author | string | Full author string. (e.g: John Smith |
|
$authorName | string | Author's full name. | |
$description | string | Package's description. | |
$destination | string | Path destination for all generated files. | |
string | Author's email. | ||
$name | string | Full name of package. (e.g: vendor/package). | |
$package | string | Package name (e.g: YourPackage). | |
$validator | Validator for the package. | ||
$vendor | string | Vendor name (e.g: YourVendor). |
Метод | Описание | |
---|---|---|
__construct ( null | string $name = null, null | string $author = null, null | string $destination = null, |
Package constructor. | |
getAuthor ( ) : string | ||
getAuthorName ( ) : string | ||
getDescription ( ) : string | ||
getDestination ( ) : string | ||
getEmail ( ) : string | ||
getName ( ) : string | ||
getPackage ( ) : string | ||
getVendor ( ) : string | ||
setAuthor ( string $author ) | ||
setAuthorName ( string $authorName ) | ||
setDescription ( string $description ) | ||
setDestination ( string $destination ) | ||
setEmail ( string $email ) | ||
setName ( string $name ) | ||
setPackage ( string $package ) | ||
setVendor ( string $vendor ) | ||
toArray ( ) : array | Return keywords list. |
Метод | Описание | |
---|---|---|
parseAuthor ( $string ) |
protected string $author | ||
Результат | string |
protected string $description | ||
Результат | string |
protected string $destination | ||
Результат | string |
protected string $name | ||
Результат | string |
protected string $package | ||
Результат | string |
protected Validator,Ptondereau\PackMe\Validators $validator | ||
Результат |
protected string $vendor | ||
Результат | string |