Eccube\Entity\Product::getPrice01Max PHP Method

getPrice01Max() public method

Get Price01 max
public getPrice01Max ( ) : integer
return integer
    public function getPrice01Max()
    {
        $this->_calc();
        if (count($this->price01) == 0) {
            return null;
        }
        return max($this->price01);
    }

Usage Example

 /**
  * {@inheritDoc}
  */
 public function getPrice01Max()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice01Max', array());
     return parent::getPrice01Max();
 }