original_string: public function register($alias, $source = null, $dependencies = [], $options = [])
      {
          $asset = $this->_factory->create($alias, $source, $dependencies, $options);
          $this->_collection->add($asset);
  
          return $this;
      }
code: public function register($alias, $source = null, $dependencies = [], $options = [])
      {
          $asset = $this->_factory->create($alias, $source, $dependencies, $options);
          $this->_collection->add($asset);
  
          return $this;
      }
code_tokens: public function register ( $ alias , $ source = null , $ dependencies = [ ] , $ options = [ ] ) { $ asset = $ this -> _factory -> create ( $ alias , $ source , $ dependencies , $ options ) ; $ this -> _collection -> add ( $ asset ) ; return $ this ; }
docstring: Registers an asset.
  
  @param string       $alias
  @param null|string  $source
  @param array        $dependencies
  @param string|array $options
  @return $this
docstring_tokens: Registers an asset .