public function unshiftResourceDir($dir)
    {
        File::resolveFilepath($dir);

        $resourcedir = $this->getResourceDir();
        array_unshift($resourcedir, $dir);

        $this->resourceDir = $resourcedir;

        return $this;
    }
public function unshiftResourceDir($dir)
    {
        File::resolveFilepath($dir);

        $resourcedir = $this->getResourceDir();
        array_unshift($resourcedir, $dir);

        $this->resourceDir = $resourcedir;

        return $this;
    }
public function unshiftResourceDir ( $ dir ) { File :: resolveFilepath ( $ dir ) ; $ resourcedir = $ this -> getResourceDir ( ) ; array_unshift ( $ resourcedir , $ dir ) ; $ this -> resourceDir = $ resourcedir ; return $ this ; }
Prepend one directory at the begining of resources dirs.

@param type $dir

@return ApplicationInterface
Prepend one directory at the begining of resources dirs .