/** * \Phalcon\Assets\Resource\Css * * @param string $path * @param boolean|null $local * @param boolean|null $filter * @param array|null $attributes * @throws Exception */ public function __construct($path, $local = null, $filter = null, $attributes = null) { /* Type check */ if (is_string($path) === false) { throw new Exception('Invalid parameter type.'); } if (is_null($local) === true) { $local = true; } elseif (is_bool($local) === false) { throw new Exception('Invalid parameter type.'); } if (is_null($filter) === true) { $filter = true; } elseif (is_bool($filter) === false) { throw new Exception('Invalid parameter type.'); } /* Call parent constructor */ parent::__construct('css', $path, $local, $filter, $attributes); }
public function getRealTargetPath($basePath = null) { return parent::getRealTargetPath($basePath); }