Property | Type | Description | |
---|---|---|---|
$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). |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
parseAuthor ( $string ) |
protected string $author | ||
return | string |
protected string $destination | ||
return | string |
protected string $name | ||
return | string |
protected string $package | ||
return | string |
protected Validator,Ptondereau\PackMe\Validators $validator | ||
return |