Redaxscript\Breadcrumb::getArray PHP Метод

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

get the breadcrumb array
С версии: 2.1.0
public getArray ( ) : array
Результат array
    public function getArray()
    {
        return $this->_breadcrumbArray;
    }

Usage Example

Пример #1
0
 /**
  * testGetArray
  *
  * @since 2.1.0
  *
  * @param array $registryArray
  * @param array $expectArray
  *
  * @dataProvider providerGetArray
  */
 public function testGetArray($registryArray = [], $expectArray = [])
 {
     /* setup */
     $this->_registry->init($registryArray);
     $breadcrumb = new Breadcrumb($this->_registry, $this->_language);
     $breadcrumb->init();
     /* actual */
     $actualArray = $breadcrumb->getArray();
     /* compare */
     $this->assertEquals($expectArray, $actualArray);
 }
All Usage Examples Of Redaxscript\Breadcrumb::getArray