Overview

Namespaces

  • rsanchez
    • Deep
      • App
        • EE
        • Laravel
          • Facade
      • Collection
      • Hydrator
      • Model
      • Plugin
      • Relations
      • Repository

Classes

  • AbstractEntity
  • AbstractField
  • AbstractProperty
  • Asset
  • Category
  • CategoryField
  • CategoryPosts
  • Channel
  • Comment
  • Entry
  • Field
  • Fieldtype
  • File
  • GridCol
  • GridRow
  • JoinableScope
  • MatrixCol
  • MatrixRow
  • Member
  • MemberField
  • PlayaEntry
  • RelationshipEntry
  • Site
  • Title
  • UploadPref

Interfaces

  • FileInterface

Traits

  • GlobalAttributeVisibilityTrait
  • JoinableTrait
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * Deep
 5:  *
 6:  * @package      rsanchez\Deep
 7:  * @author       Rob Sanchez <info@robsanchez.com>
 8:  */
 9: 
10: namespace rsanchez\Deep\Model;
11: 
12: /**
13:  * Interface for file-based models like File and Asset
14:  */
15: interface FileInterface
16: {
17:     /**
18:      * Get the public url to this file
19:      * @return string
20:      */
21:     public function getUrlAttribute();
22: 
23:     /**
24:      * Get the server path to this file
25:      * @return string
26:      */
27:     public function getServerPathAttribute();
28: 
29:     /**
30:      * Get the public url to this file
31:      * @return string
32:      */
33:     public function __toString();
34: }
35: 
API documentation generated by ApiGen 2.8.0