commonName() public method

The name that represents an object.
public commonName ( ) : string
return string
Esempio n. 1
0
 /**
  * Sets the model's common name.
  *
  * @param string $name
  *
  * @return $this
  */
 public function setCommonName($name)
 {
     return $this->setFirstAttribute($this->schema->commonName(), $name);
 }
Esempio n. 2
0
 /**
  * Performs a global 'all' search query on the current
  * connection by performing a search for all entries
  * that contain a common name attribute.
  *
  * @return \Illuminate\Support\Collection|array
  */
 public function all()
 {
     return $this->query->whereHas($this->schema->commonName())->get();
 }
Esempio n. 3
0
 /**
  * Assembles the common names in the distinguished name.
  *
  * @return string
  */
 public function assembleCns()
 {
     return $this->assembleRdns($this->schema->commonName(), $this->commonNames);
 }