CoreFiles by mySites.guru
WebAssetAttachBehaviorInterface.php33 lines, 684 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
def4f3087b64f455da46c0db1c85318a
sha1
d3be75d1365a47ec06c9957c5b322903a35b7cd6
sha256
2125612e2a7e5ad5057b411653ee20f4a306978be0d0d8692077f94776dc9527
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\WebAsset;

\defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Document\Document;

/**
 * Web Asset Behavior interface
 *
 * @since  4.0.0
 */
interface WebAssetAttachBehaviorInterface
{
	/**
	 * Method called when asset attached to the Document.
	 * Useful for Asset to add a Script options.
	 *
	 * @param   Document  $doc  Active document
	 *
	 * @return void
	 *
	 * @since   4.0.0
	 */
	public function onAttachCallback(Document $doc);
}

No other release has this exact content. See every version of this file.