Свойство | Тип | Описание | |
---|---|---|---|
$implicitMap | array | A map of old => new for use statements that are missing | |
$rename | mixed | A list of classes which have had the Cake prefix removed | |
$tasks |
Метод | Описание | |
---|---|---|
_addImplicitUses ( string $contents ) : string | Add implicit uses | |
_mapClassName ( array $matches ) : array | Convert old classnames to new ones. | |
_orderUses ( string $contents ) : string | Order use statements | |
_process ( $path ) : void | Convert App::uses() to normal use statements. | |
_removeDynamicAppUses ( string $contents ) : string | _removeDynamicAppUses | |
_replaceAppUses ( string $contents ) : string |
Replace App::uses with use |
|
_replaceReferences ( string $contents ) : string | Replace references to old classes | |
_shouldProcess ( string $path ) : boolean | _shouldProcess |
protected _addImplicitUses ( string $contents ) : string | ||
$contents | string | |
Результат | string |
protected _mapClassName ( array $matches ) : array | ||
$matches | array | |
Результат | array |
protected _orderUses ( string $contents ) : string | ||
$contents | string | |
Результат | string |
protected _removeDynamicAppUses ( string $contents ) : string | ||
$contents | string | |
Результат | string |
protected _replaceAppUses ( string $contents ) : string | ||
$contents | string | |
Результат | string |
protected _replaceReferences ( string $contents ) : string | ||
$contents | string | |
Результат | string |
protected _shouldProcess ( string $path ) : boolean | ||
$path | string | |
Результат | boolean |
public array $implicitMap | ||
Результат | array |
public mixed $rename | ||
Результат | mixed |