public function activeDuring($frames)
    {
        if (null !== $this->activeFrames) {
            throw new LogicException('Active frames already defined');
        }
        $this->activeFrames = $frames;

        return $this;
    }
public function activeDuring($frames)
    {
        if (null !== $this->activeFrames) {
            throw new LogicException('Active frames already defined');
        }
        $this->activeFrames = $frames;

        return $this;
    }
public function activeDuring ( $ frames ) { if ( null !== $ this -> activeFrames ) { throw new LogicException ( 'Active frames already defined' ) ; } $ this -> activeFrames = $ frames ; return $ this ; }
Define the frames displaying the move.

@param int $frames

@return static
Define the frames displaying the move .