src/Charcoal/Admin/Property/Input/PermalinkInput.php
public function sampleId()
    {
        if (!$this->sampleId) {
            $this->sampleId = $this->inputId() ?: $this->generateSampleId();
        }

        return $this->sampleId;
    }
public function sampleId()
    {
        if (!$this->sampleId) {
            $this->sampleId = $this->inputId() ?: $this->generateSampleId();
        }

        return $this->sampleId;
    }
public function sampleId ( ) { if ( ! $ this -> sampleId ) { $ this -> sampleId = $ this -> inputId ( ) ? : $ this -> generateSampleId ( ) ; } return $ this -> sampleId ; }
Get the sample ID.

If none was previously set then a unique random one will be generated.

@return string
Get the sample ID .