File "LazyProperty.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/symfony/validator/Validator/LazyProperty.php
File size: 365 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Symfony\Component\Validator\Validator;
if (!defined('ABSPATH')) exit;
class LazyProperty
{
private $propertyValueCallback;
public function __construct(\Closure $propertyValueCallback)
{
$this->propertyValueCallback = $propertyValueCallback;
}
public function getPropertyValue()
{
return ($this->propertyValueCallback)();
}
}