Programming Language PHP

Namespace v5\Models\Helpers

Class HideTime

Total Examples 4

4 code examples of PHP v5\Models\Helpers\HideTime extracted from open source projects

Was this example useful?
0
                                                    public function getCreatedAttribute($value): bool
    {
        return HideTime::hideTime($value, $this->post->survey ? $this->post->survey->hide_time : true);
    }
                                            
Was this example useful?
0
                                                    public function getUpdatedAttribute($value): bool
    {
        return HideTime::hideTime($value, $this->post->survey ? $this->post->survey->hide_time : true);
    }
                                            
Was this example useful?
0
                                                    }//end getRules()

    public function getValueAttribute($value): bool
    {
        return HideTime::hideTime($value, $this->post->survey ? $this->post->survey->hide_time : true);
    }
                                            
Was this example useful?
0
                                                    public function getPostDateAttribute($value): bool
    {
        return HideTime::hideTime($value, $this->survey ? $this->survey->hide_time : true);
    }
                                            
HideTime's Other Methods
HideTime's Other Methods