/** * Constructor. * * @param string $url * @param string $path * @param array $options */ public function __construct($url, $path, $options = array()) { parent::__construct($options); $this->type = 'File'; $this->url = $url; $this->path = $path; }
/** * {@inheritdoc} */ public function __construct($name, $assetPath) { parent::__construct($name, $assetPath); if ($this->moduleName === null) { $this->moduleName = preg_replace('/_js$/', '', $name); } }
/** * Constructor. * * @param string $string * @param array $options */ public function __construct($string, $options = array()) { parent::__construct($options); $this->type = 'String'; $this->string = $string; }
function __construct($path, array $options = array()) { parent::__construct($path, $options); $options = array_merge($this->defaults, $options); $this->media = $options['media']; }
function __construct($path, array $options = array()) { parent::__construct($path, $options); }
/** * {@inheritdoc} */ public function __construct($name, $assetPath, $filters = []) { parent::__construct($name, $assetPath); $this->filters = $filters; }