public function getComposersForView( $view ) {
		$view = ViewEngine::canonical( $view );

		$composers = [];

		foreach ( $this->composers as $composer ) {
			if ( in_array( $view, $composer['views'], true ) ) {
				$composers[] = $composer['composer'];
			}
		}

		return $composers;
	}
public function getComposersForView( $view ) {
		$view = ViewEngine::canonical( $view );

		$composers = [];

		foreach ( $this->composers as $composer ) {
			if ( in_array( $view, $composer['views'], true ) ) {
				$composers[] = $composer['composer'];
			}
		}

		return $composers;
	}
public function getComposersForView ( $ view ) { $ view = ViewEngine :: canonical ( $ view ) ; $ composers = [ ] ; foreach ( $ this -> composers as $ composer ) { if ( in_array ( $ view , $ composer [ 'views' ] , true ) ) { $ composers [ ] = $ composer [ 'composer' ] ; } } return $ composers ; }
Get view composer.

@param  string         $view
@return array<Handler>
Get view composer .