<?php
namespace Concrete\Core\Application\Service;
use Concrete\Core\Page\Type\Type;
use PageType;
use \Concrete\Core\Http\ResponseAssetGroup;
use \Concrete\Core\Page\Type\Composer\Control as PageTypeComposerControl;
use Loader;
class Composer {

	public function display(Type $pagetype, $page = false) {
        $pagetype->renderComposerOutputForm($page);
	}

	public function displayButtons(PageType $pagetype, $page = false) {
		Loader::element('page_types/composer/form/output/buttons', array(
			'pagetype' => $pagetype,
			'page' => $page
		));
	}

	public function addAssetsToRequest(PageType $pt, Controller $cnt) {
		$list = PageTypeComposerControl::getList($pt);
		foreach($list as $l) {
			$l->addAssetsToRequest($cnt);
		}
	}


}

<?php
namespace Concrete\Core\Application\Service;
use Concrete\Core\Page\Type\Type;
use PageType;
use \Concrete\Core\Http\ResponseAssetGroup;
use \Concrete\Core\Page\Type\Composer\Control\Control as PageTypeComposerControl;
use Loader;
class Composer {

	/**
	 * @param Type $pagetype
	 * @param bool|\Page $page
	 */
	public function display(Type $pagetype, $page = false) {
        $pagetype->renderComposerOutputForm($page);
	}

	/**
	 * @param PageType $pagetype
	 * @param bool|\Page $page
	 */
	public function displayButtons(PageType $pagetype, $page = false) {
		Loader::element('page_types/composer/form/output/buttons', array(
			'pagetype' => $pagetype,
			'page' => $page
		));
	}

	/**
	 * @param PageType $pt
	 * @param \Controller $cnt
	 */
	public function addAssetsToRequest(PageType $pt, \Controller $cnt) {
		$list = PageTypeComposerControl::getList($pt);
		foreach($list as $l) {
			$l->addAssetsToRequest($cnt);
		}
	}


}

Fix composer helper and comment it
Fix composer helper and comment it


Former-commit-id: 0691b49f1e795659a2b37e7e1b34f9625bd1e952