public function for(Source $source): string
    {
        if (isset($this->presentationModels[$source])) {
            return (string)$this->presentationModels[$source];
        }

        return PresentationModel::class;
    }
public function for(Source $source): string
    {
        if (isset($this->presentationModels[$source])) {
            return (string)$this->presentationModels[$source];
        }

        return PresentationModel::class;
    }
public function for ( Source $ source ) : string { if ( isset ( $ this -> presentationModels [ $ source ] ) ) { return ( string ) $ this -> presentationModels [ $ source ] ; } return PresentationModel :: class ; }
Returns the presentation model for the given view.

@param Source $source

@return string
Returns the presentation model for the given view .