src/TerminalObject/Dynamic/Animation/Keyframe.php
protected function getHorizontalKeyframe(array $lines, $frame_number, $line_method, $length)
    {
        $keyframe = [];

        foreach ($lines as $line) {
            $keyframe[] = $this->$line_method($line, $frame_number, $length);
        }

        return $keyframe;
    }
protected function getHorizontalKeyframe(array $lines, $frame_number, $line_method, $length)
    {
        $keyframe = [];

        foreach ($lines as $line) {
            $keyframe[] = $this->$line_method($line, $frame_number, $length);
        }

        return $keyframe;
    }
protected function getHorizontalKeyframe ( array $ lines , $ frame_number , $ line_method , $ length ) { $ keyframe = [ ] ; foreach ( $ lines as $ line ) { $ keyframe [ ] = $ this -> $ line_method ( $ line , $ frame_number , $ length ) ; } return $ keyframe ; }
Get the keyframe for a horizontal animation

@param array $lines
@param int $frame_number
@param string $line_method
@param int $length

@return array
Get the keyframe for a horizontal animation