League\Period\Period::getStartDate PHP Method

getStartDate() public method

Returns the starting date point.
public getStartDate ( ) : DateTimeImmutable
return DateTimeImmutable
    public function getStartDate()
    {
        return $this->startDate;
    }

Usage Example

Beispiel #1
0
 public function __construct(Season\Name $name, Period $period)
 {
     if ($period === null) {
         throw new \InvalidArgumentException("de periode moet gezet zijn", E_ERROR);
     }
     parent::__construct($period->getStartDate(), $period->getEndDate());
     if ($name === null) {
         throw new \InvalidArgumentException("de naam moet gezet zijn", E_ERROR);
     }
     $this->m_name = $name;
 }
All Usage Examples Of League\Period\Period::getStartDate