for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) 2015 ublaboo <[email protected]>
* @author Pavel Janda <[email protected]>
* @package Ublaboo
*/
namespace Ublaboo\DataGrid\Utils;
use Nette;
use Symfony\Component\PropertyAccess\PropertyAccess;
final class PropertyAccessHelper extends Nette\Object
{
private static $accessor = NULL;
public static function getAccessor()
if (!self::$accessor) {
self::$accessor = PropertyAccess::createPropertyAccessor();
}
return self::$accessor;