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

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

        $this->resourceDir = $resourcedir;

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

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

        $this->resourceDir = $resourcedir;

        return $this;
    }
public function pushResourceDir ( $ dir ) { File :: resolveFilepath ( $ dir ) ; $ resourcedir = $ this -> getResourceDir ( ) ; array_push ( $ resourcedir , $ dir ) ; $ this -> resourceDir = $ resourcedir ; return $ this ; }
Push one directory at the end of resources dirs.

@param string $dir

@return ApplicationInterface
Push one directory at the end of resources dirs .