is_base() public method

is_base: Tells if the Segment is a base Segment or not.
public is_base ( ) : boolean
return boolean
コード例 #1
0
ファイル: Builder.php プロジェクト: noherczeg/breadcrumb
 private function isBaseElement(Segment $segment, $position)
 {
     if ($segment->is_base() && $position === 1) {
         return true;
     }
     return false;
 }