GraphAware\Reco4PHP\Result\Recommendation::item PHP Метод

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

public item ( ) : GraphAware\Common\Type\Node
Результат GraphAware\Common\Type\Node
    public function item()
    {
        return $this->item;
    }

Usage Example

Пример #1
0
 public function remove(Recommendation $recommendation)
 {
     if (!array_key_exists($recommendation->item()->identity(), $this->recommendations)) {
         return;
     }
     unset($this->recommendations[$recommendation->item()->identity()]);
 }
All Usage Examples Of GraphAware\Reco4PHP\Result\Recommendation::item