LdapTools\Operation\LdapOperationInterface::getArguments PHP 메소드

getArguments() 공개 메소드

Gets an array of arguments that will be passed to the LDAP function for executing this operation.
public getArguments ( ) : array
리턴 array
    public function getArguments();

Usage Example

예제 #1
0
 /**
  * {@inheritdoc}
  */
 public function execute(LdapOperationInterface $operation)
 {
     $result = @call_user_func($operation->getLdapFunction(), $this->connection->getConnection(), ...$operation->getArguments());
     if ($result === false) {
         throw new LdapConnectionException(sprintf('LDAP %s Operation Error. Diagnostic message: "%s"', $operation->getName(), $this->connection->getDiagnosticMessage()));
     }
     return $result;
 }