Lines Matching defs:pieces
41 protected $pieces;
57 if ($this->pieces === null) {
60 if (!isset($this->pieces[0])) {
64 return $this->pieces[0];
73 if ($this->pieces === null) {
76 if (count((array) $this->pieces) < 2) {
80 return new Dn(implode(',', array_slice((array) $this->pieces, 1)));
108 if ($this->pieces === null) {
112 return count((array) $this->pieces);
129 if ($this->pieces !== null) {
130 return $this->pieces;
134 return ($this->pieces === null) ? [] : $this->pieces;
160 $this->pieces = [];
164 $pieces = preg_split('/(?<!\\\\),/', $this->dn);
165 $pieces = ($pieces === false) ? [] : $pieces;
167 if (count($pieces) === 0) {
175 foreach ($pieces as $i => $piece) {
179 $this->pieces = $rdns;