protected function setUp()
    {
        if (empty($this->asset)) {
            return;
        }

        $this->asset = $this->normalizePath($this->asset);
        $this->realPath = $this->locateResource();

        // The asset has not been located, so the full path is the asset itself
        if (null === $this->realPath) {
            $this->realPath = $this->asset;
        }
        $this->absolutePath = $this->retrieveBundleWebFolder();
    }
protected function setUp()
    {
        if (empty($this->asset)) {
            return;
        }

        $this->asset = $this->normalizePath($this->asset);
        $this->realPath = $this->locateResource();

        // The asset has not been located, so the full path is the asset itself
        if (null === $this->realPath) {
            $this->realPath = $this->asset;
        }
        $this->absolutePath = $this->retrieveBundleWebFolder();
    }
protected function setUp ( ) { if ( empty ( $ this -> asset ) ) { return ; } $ this -> asset = $ this -> normalizePath ( $ this -> asset ) ; $ this -> realPath = $ this -> locateResource ( ) ; // The asset has not been located, so the full path is the asset itself if ( null === $ this -> realPath ) { $ this -> realPath = $ this -> asset ; } $ this -> absolutePath = $ this -> retrieveBundleWebFolder ( ) ; }
Sets up the asset information
Sets up the asset information