protected function apply($pinocchio)
    {
        $variables = array(
            'configuration' => $this->configuration,
            'pinocchio'     => $pinocchio,
        );

        ob_start();

        extract($variables);
        include($this->configuration->get('template'));

        return ob_get_clean();
    }