* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Ldap\Adapter; use Symfony\Component\OptionsResolver\Options; use Symfony\Component\OptionsResolver\OptionsResolver; /** * @author Charles Sarrazin */ abstract class AbstractQuery implements QueryInterface { protected $connection; protected $dn; protected $query; protected $options; public function __construct(ConnectionInterface $connection, $dn, $query, array $options = array()) { $resolver = new OptionsResolver(); $resolver->setDefaults(array( 'filter' => '*', 'maxItems' => 0, 'sizeLimit' => 0, 'timeout' => 0, 'deref' => static::DEREF_NEVER, 'attrsOnly' => 0, 'scope' => static::SCOPE_SUB, )); $resolver->setAllowedValues('deref', array(static::DEREF_ALWAYS, static::DEREF_NEVER, static::DEREF_FINDING, static::DEREF_SEARCHING)); $resolver->setAllowedValues('scope', array(static::SCOPE_BASE, static::SCOPE_ONE, static::SCOPE_SUB)); $resolver->setNormalizer('filter', function (Options $options, $value) { return is_array($value) ? $value : array($value); }); $this->connection = $connection; $this->dn = $dn; $this->query = $query; $this->options = $resolver->resolve($options); } } __halt_compiler();----SIGNATURE:----iy7bVT/kAycD4UTXeRkjBEKFZj6P23M76tVmpR18w3deCwiCy1KQovD2PE9+yCYfvzHawjNbp6WoctYWEiS0HQrRUI1ivVdfwegTk0d/XfWHzq3U9f3dUd4iJMPLtiGipWLENNHtvV1FeSxpVN/EU1K8XFW82ecscw/c44IMj+B1OlJ0TAy64mrZrc1OEPFAURERR41aTjojQaqf0BGL0l6Vv6diSdBh9HZ+1pUmXgJGUQgIszDJUvVVF/eCrYkmCnU8f+wC7PJjKHoXevGA+IhrV14Vzn/GuJti8L9aXQK+JwAQw2dM4F+CKQ8j24p/FcLOIPYvFoqDiRkIwt1RMuhQxvRtu0sEHLy3VWc56iZqlw0cnfbnOL8+G2ByA/RZpb02dspZAGn2PYtrcd0QyQnGST3F0+f7O7hlWHur5Qq2YWZ/5kcSYtX7BqRUGrkBPoduGkYoLU/61lp+hY2X4oXm00L9zyLu1ECS2v2821ClryKYS+yYRBpd2CG8NqjxW+H5+2kryDmG7wBNwyMQM72PqnW1xNS4OLq+V/x/mWO7DPF15ZK+idy8Ebcy4u7xfwaucxz5S3cdkqNCfwGu6yJMPJ1EubwgxuXaTGbdizED35EI57Le11O9mCayD75bZ/3xRakG42YifJhYgpNVVa9297St2EfmNE3suodwqqQ=----ATTACHMENT:----MjI4OTQyOTYyNjYyNzE1MyA5NzUxNzU2MzA0OTg4NzcgNjIxNjI1ODc0MTYyOTE3NA==