/** * Returns a HTML <a> for a given filename in the 'content' directory * * @see \Zepto\Helper::link_for() * @param string $file_name * @return string|null * @codeCoverageIgnore */ public function link_for($file_name) { $zepto = \Zepto\Zepto::instance(); return $zepto->app['helper']->link_for($file_name); }
/** * Retrieves current instance, if one exists, otherwise returns null * * @return \Zepto\Zepto|null * @static */ public static function instance() { if (isset(static::$instance) === FALSE) { Zepto::kill(); return null; } return static::$instance; }