Neos\ContentRepository\Domain\Service\Context::getDimensions PHP Method

getDimensions() public method

An indexed array of dimensions with ordered list of values for matching nodes by content dimensions
public getDimensions ( ) : array
return array
    public function getDimensions()
    {
        return $this->dimensions;
    }

Usage Example

 /**
  * @test
  */
 public function findNodesByPropertyKeyAndValue()
 {
     $this->createNodesForNodeSearchTest();
     $result = $this->nodeDataRepository->findByProperties(array('test2' => 'simpleTestValue'), 'Neos.ContentRepository.Testing:NodeType', $this->liveWorkspace, $this->context->getDimensions());
     $this->assertCount(1, $result);
     $this->assertEquals('test-node-2', array_shift($result)->getName());
 }
All Usage Examples Of Neos\ContentRepository\Domain\Service\Context::getDimensions