evaluate() публичный Метод

public evaluate ( FlowQuery $flowQuery, array $arguments ) : integer
$flowQuery Neos\Eel\FlowQuery\FlowQuery The FlowQuery object
$arguments array None
Результат integer The cache lifetime in seconds or NULL if either no content collection was given or no child node had a "hiddenBeforeDateTime" or "hiddenAfterDateTime" property set
 /**
  * @test
  * @dataProvider nodePropertiesAndLifetime
  */
 public function evaluateReturnsMinimumOfFutureHiddenDates($nodes, $expectedLifetime)
 {
     $mockFlowQuery = $this->buildFlowQueryWithNodesInContext($nodes);
     $lifetime = $this->operation->evaluate($mockFlowQuery, array());
     if ($expectedLifetime === null) {
         $this->assertNull($lifetime);
     } else {
         $this->assertEquals($expectedLifetime, $lifetime, 'Lifetime did not match expected value +/- 1', 1);
     }
 }