public function addLocation(Location $location)
    {
        $this->locations->add($location);

        unset( $this->viewPathCache );
        $this->viewPathCache = [];

        return $this;
    }
public function addLocation(Location $location)
    {
        $this->locations->add($location);

        unset( $this->viewPathCache );
        $this->viewPathCache = [];

        return $this;
    }
public function addLocation ( Location $ location ) { $ this -> locations -> add ( $ location ) ; unset ( $ this -> viewPathCache ) ; $ this -> viewPathCache = [ ] ; return $ this ; }
Add a location to scan with the BaseViewFinder.

@since 0.1.0

@param Location $location Location to scan with the BaseViewFinder.

@return static
Add a location to scan with the BaseViewFinder .