for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/* @description Transformation Style Sheets - Revolutionising PHP templating *
* @author Tom Butler [email protected] *
* @copyright 2015 Tom Butler <[email protected]> | https://r.je/ *
* @license http://www.opensource.org/licenses/bsd-license.php BSD License *
* @version 0.9 */
namespace Transphporm\Property;
class Bind implements \Transphporm\Property {
private $data;
public function __construct(\Transphporm\Hook\DataFunction $data) {
$this->data = $data;
}
public function run($value, \DomElement $element, \Transphporm\Hook\Rule $rule) {
$this->data->bind($element, $value);