Composes roles of the same kind.
This implements a non-commutative composition operator for the \FeaturePhp\Collaboration\Role class. A composer is only applied to roles of the composer's kind. Arbitrary refinements are possible, though the typical use case is implemented by \FeaturePhp\Collaboration\ClassComposer.
package | Default |
---|
fromKind(string $kind) : \FeaturePhp\Collaboration\Composer
string
\FeaturePhp\Collaboration\Composer
getComposerMap() : array<mixed,string>
array<mixed,string>
getContent() : \FeaturePhp\File\FileContent
\FeaturePhp\File\FileContent
getKind() : string
string
refine(\FeaturePhp\Collaboration\Role $role) : \FeaturePhp\Collaboration\Composer
\FeaturePhp\Collaboration\Role
\FeaturePhp\Collaboration\Composer
getComposers() : array<mixed,string>
array<mixed,string>