PHP Class Newscoop\Package\Article

Show file Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$id integer
$packages array

Public Methods

Method Description
__construct ( integer $id )
getPackages ( ) : Doctrine\Common\Collections\Collection Get packages

Method Details

__construct() public method

public __construct ( integer $id )
$id integer

getPackages() public method

Get packages
public getPackages ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

Property Details

$id protected property

protected int $id
return integer

$packages protected property

protected array $packages
return array