public function features(array $features = null)
    {
        if (is_null($features)) {
            return $this->features;
        }

        $this->features = $features;

        return $this;
    }
public function features(array $features = null)
    {
        if (is_null($features)) {
            return $this->features;
        }

        $this->features = $features;

        return $this;
    }
public function features ( array $ features = null ) { if ( is_null ( $ features ) ) { return $ this -> features ; } $ this -> features = $ features ; return $ this ; }
Set the features of the plan.

@param  array  $features
@return $this|array
Set the features of the plan .