Replace jrosset/collections with voku/arrayy
parent
56e05cdc2e
commit
38c1a583dc
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace jrosset\CliProgram\AutoDiscovery;
|
||||
|
||||
use Arrayy\Collection\AbstractCollection;
|
||||
|
||||
/**
|
||||
* A list of command auto discovery spots
|
||||
*
|
||||
* @extends AbstractCollection<AutoDiscoverySpotsList>
|
||||
*/
|
||||
class AutoDiscoverySpotsList extends AbstractCollection {
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getType (): string {
|
||||
return IAutoDiscoverySpot::class;
|
||||
}
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace jrosset\CliProgram\AutoPrefix;
|
||||
|
||||
use Arrayy\Collection\AbstractCollection;
|
||||
|
||||
/**
|
||||
* A list of managers of commands auto prefix
|
||||
*
|
||||
* @extends AbstractCollection<IAutoPrefixManager>
|
||||
*/
|
||||
class AutoPrefixManagersList extends AbstractCollection {
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getType (): string {
|
||||
return IAutoPrefixManager::class;
|
||||
}
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace jrosset\CliProgram\Validation\Validators;
|
||||
|
||||
use Arrayy\Collection\AbstractCollection;
|
||||
|
||||
/**
|
||||
* A list of options of a filesystem based validator
|
||||
*
|
||||
* @extends AbstractCollection<FilesystemValidationOption>
|
||||
*/
|
||||
class FilesystemValidationOptionsList extends AbstractCollection {
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getType (): string {
|
||||
return 'int';
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue