PHP Class App\Specifications\OldDeploymentSpecification

Inheritance: extends DeploymentSpecification
Show file Open project: ngmy/webloyer Class Usage Examples

Protected Properties

Property Type Description
$currentDate

Public Methods

Method Description
__construct ( DateTime $currentDate )
satisfyingElementsFrom ( Model $project ) : Collection Get elements that satisfy the specification.

Method Details

__construct() public method

public __construct ( DateTime $currentDate )
$currentDate DateTime

satisfyingElementsFrom() public method

Get elements that satisfy the specification.
public satisfyingElementsFrom ( Model $project ) : Collection
$project Illuminate\Database\Eloquent\Model
return Illuminate\Support\Collection

Property Details

$currentDate protected property

protected $currentDate