src/Filter/ViewModelTemplateFilterAbstract.php
protected function setLocation()
    {
        if (!isset($this->job)) {
            throw new \InvalidArgumentException('cannot create a viewModel for Templates without aa $job');
        }
        $location = $this->job->getLocation();
        $this->container['location'] = isset($location)?$location:'';
        return $this;
    }
protected function setLocation()
    {
        if (!isset($this->job)) {
            throw new \InvalidArgumentException('cannot create a viewModel for Templates without aa $job');
        }
        $location = $this->job->getLocation();
        $this->container['location'] = isset($location)?$location:'';
        return $this;
    }
protected function setLocation ( ) { if ( ! isset ( $ this -> job ) ) { throw new \ InvalidArgumentException ( 'cannot create a viewModel for Templates without aa $job' ) ; } $ location = $ this -> job -> getLocation ( ) ; $ this -> container [ 'location' ] = isset ( $ location ) ? $ location : '' ; return $ this ; }
Sets the location of a jobs

@return $this
@throws \InvalidArgumentException
Sets the location of a jobs