PHP Class Neos\Media\Domain\Model\Tag

Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$assetCollections Collection<\Neos\Media\Domain\Model\AssetCollection>
$label string

Public Methods

Method Description
__construct ( string $label )
getAssetCollections ( ) : Doctrine\Common\Collections\Collection Return the asset collections this tag is included in
getLabel ( ) : string The label of this tag
setAssetCollections ( Doctrine\Common\Collections\Collection $assetCollections ) : void Set the asset collections that include this tag
setLabel ( string $label ) : void Sets the label of this tag

Method Details

__construct() public method

public __construct ( string $label )
$label string

getAssetCollections() public method

Return the asset collections this tag is included in
public getAssetCollections ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getLabel() public method

The label of this tag
public getLabel ( ) : string
return string

setAssetCollections() public method

Set the asset collections that include this tag
public setAssetCollections ( Doctrine\Common\Collections\Collection $assetCollections ) : void
$assetCollections Doctrine\Common\Collections\Collection
return void

setLabel() public method

Sets the label of this tag
public setLabel ( string $label ) : void
$label string
return void

Property Details

$assetCollections protected property

protected Collection<\Neos\Media\Domain\Model\AssetCollection> $assetCollections
return Collection<\Neos\Media\Domain\Model\AssetCollection>

$label protected property

protected string $label
return string