public function get($chunk)
    {
        if (false === isset($this->chunks[$chunk])) {
            throw new \InvalidArgumentException(sprintf('This code block does not have a chunk for "%s".', $chunk));
        }

        return $this->chunks[$chunk];
    }
public function get($chunk)
    {
        if (false === isset($this->chunks[$chunk])) {
            throw new \InvalidArgumentException(sprintf('This code block does not have a chunk for "%s".', $chunk));
        }

        return $this->chunks[$chunk];
    }
public function get ( $ chunk ) { if ( false === isset ( $ this -> chunks [ $ chunk ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'This code block does not have a chunk for "%s".' , $ chunk ) ) ; } return $ this -> chunks [ $ chunk ] ; }
Returns the code associated with the given chunk.

@param  string $chunk
@return mixed
Returns the code associated with the given chunk .